import React, { Fragment, useState, useEffect } from 'react';
import type { FC } from 'react';
import { Calendar, Badge, Drawer } from 'antd';
import style from './index.less';
import { Link, useHistory } from 'umi';

const Choose: FC<Record<string, any>> = () => {
  const history = useHistory();

  return (
    <div className={style.content}>
        <div className={style.cal}>
          <div className={style.title}>请选择你要登录的页面</div>

          <div className={style.box}>
            <Link to="/client/index" className={style.left}>客户端</Link>
            <Link to="/dashboard" className={style.right}>管理端</Link>
          </div>
      </div>
    </div>
  );
};
export default Choose;
